/**
 * 
 */
package com.processor;

import com.Bahaddur;
import com.iface.ILogProcessor;

/**
 * @author shripad
 * 
 */
public class LogProcessor implements ILogProcessor {

	Bahaddur bahaddur;

	@Override
	public String processLog(String logChunk) {
		bahaddur.getAlarmGenerator().generateAlarm(logChunk);
		return logChunk;
	}

	public Bahaddur getBahaddur() {
		return bahaddur;
	}

	public void setBahaddur(Bahaddur bahaddur) {
		this.bahaddur = bahaddur;
	}
}
